﻿using System;
using System.Runtime.Serialization;
//using System.Windows;
//using System.Windows.Controls;
//using System.Windows.Documents;
//using System.Windows.Ink;
//using System.Windows.Input;
//using System.Windows.Media;
//using System.Windows.Media.Animation;
//using System.Windows.Shapes;

namespace DiscoveryLogic.DataServices.DataObjects
{
    [DataContract] 
    public class BillPayment
    {
        #region Private Variables

            private double payment;
            private DateTime date;
            private string fromAcc;

        #endregion


            [DataMember] 
            public double Payment
            {
                get
                {
                    return payment;
                }
                set
                {
                    payment = value;
                }
            }

            [DataMember] 
            public DateTime Date
            {
                get
                {
                    return date;
                }
                set
                {
                    date = value;
                }
            }

            [DataMember] 
            public string FromAcc
            {
                get
                {
                    return fromAcc;
                }
                set
                {
                    fromAcc = value;
                }
            }

     

        #region Constructors


            public BillPayment()
            {
            }

            public BillPayment(double PaymentAmnt, DateTime DatePaid, string FromWhichAccount)
            {
                payment = PaymentAmnt;
                date = DatePaid;
                fromAcc = FromWhichAccount;
            }

        #endregion

        #region Public Methods

            
            public double getPaymentAmount()
            {
                return Payment;
            }

            
            public DateTime getDatePaid()
            {
                return Date;
            }

            public string getFromAcc()
            {
                return FromAcc;
            }

        #endregion
    }
}
